package com.example.demo.Gmail;

/**
 * Created by zx
 */
public class GmailServiceResponse<T> {

    Boolean success;

    String msg;

    Object data;

    public GmailServiceResponse() {
    }

    public GmailServiceResponse(String msg, Object data) {
        this.msg = msg;
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public GmailServiceResponse setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public Object getData() {
        return data;
    }

    public GmailServiceResponse setData(Object data) {
        this.data = data;
        return this;
    }

    public Boolean getSuccess() {
        return success;
    }

    public GmailServiceResponse setSuccess(Boolean success) {
        this.success = success;
        return this;
    }


}
